package com.myTimeUtils.android.TimeTracker.Global;
/**
 * Defines the interface of the objects that will act as an iterator through
 * a list
 *
 * @author Joseph Walker
 */
public interface Iterator<E>{
	/**
	 * Restarts the iterator.
	 */
	public void clear();
	/**
	 * Returns the current element in the iterator.
	 *
	 * @return 		The current element in the iterator
	 */
	public E current();
	/**
	 * Determines if the iterator is at its end.
	 *
	 * @return		True if the iterator has more elements.
	 */
	public boolean hasNext();
	/**
	 * Advances the iterator to the next element.
	 */
	public void next();
}
